package com.fand.site.dto;

import java.util.List;

import javax.persistence.Transient;

import com.fand.acceptControl.dto.NavigationDto;
import com.fand.site.po.Site;

/**
 * 站
 * 
 * @author haitao.yao
 * 
 */
public class SiteDto extends Site {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = 524338883035991643L;

	@Transient
	private String defaultCo;

	@Transient
	private String defaultNa;

	@Transient
	private String domainNaCo;

	/**
	 * 标识集合
	 */
	@Transient
	private String[] ids;

	@Transient
	private List<NavigationDto> navigationList;

	/**
	 * 分页号
	 */
	@Transient
	int paginationNo;

	/**
	 * 分页大小
	 */
	@Transient
	int paginationSize;

	public String getDefaultCo() {
		return this.defaultCo;
	}

	public String getDefaultNa() {
		return this.defaultNa;
	}

	public String getDomainNaCo() {
		return this.domainNaCo;
	}

	/**
	 * @return 标识集合
	 */
	public String[] getIds() {
		return this.ids;
	}

	public List<NavigationDto> getNavigationList() {
		return this.navigationList;
	}

	/**
	 * 获取
	 * 
	 * @return 分页号
	 */
	public int getPaginationNo() {
		return this.paginationNo;
	}

	/**
	 * 获取
	 * 
	 * @return 分页大小
	 */
	public int getPaginationSize() {
		return this.paginationSize;
	}

	public void setDefaultCo(final String defaultCo) {
		this.defaultCo = defaultCo;
	}

	public void setDefaultNa(final String defaultNa) {
		this.defaultNa = defaultNa;
	}

	public void setDomainNaCo(final String domainNaCo) {
		this.domainNaCo = domainNaCo;
	}

	/**
	 * 获取
	 * 
	 * @param ids
	 *            标识集合
	 * @return 站
	 */
	public SiteDto setIds(final String[] ids) {
		this.ids = ids;

		return this;
	}

	public void setNavigationList(final List<NavigationDto> navigationList) {
		this.navigationList = navigationList;
	}

	/**
	 * 设置
	 * 
	 * @param paginationNo
	 *            分页号
	 * @return 站
	 */
	public SiteDto setPaginationNo(final int paginationNo) {
		this.paginationNo = paginationNo;

		return this;
	}

	/**
	 * 设置
	 * 
	 * @param paginationSize
	 *            分页大小
	 * @return 站
	 */
	public SiteDto setPaginationSize(final int paginationSize) {
		this.paginationSize = paginationSize;

		return this;
	}

}